package com.ym.datasource;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description
 * Created by 王伟
 * Date create on 21:33 2018/6/20.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface UseDataSource {
    /**
     * 数据源
     * @return
     */
    DataSourceType value() default DataSourceType.SOURCE_1;
}
